package com.qqtech.qquan.circle.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.StringUtil;
import com.qqtech.qquan.circle.enums.CircleConst;

@SuppressWarnings("serial")
public class CircleUpgradeApplyVo extends CircleUpgradeApply{
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
	
	/** 申请人呢称 */
	private java.lang.String applyName;
	/** 圈子 */
	private java.lang.String circleName;
	private java.lang.String circleLogo;
	/** 升级前-区域范围-名称*/
	private java.lang.String fromZoneLevelName;
    /** 升级后-区域范围-名称 */
	private java.lang.String toZoneLevelName;
	
	/**创始社区**/
	private java.lang.String communityName;
	/**扩展社区**/
	private java.lang.String toExtCommunityNames;
	/**上一次扩展社区**/
	private java.lang.String lastToExtCommunityNames;
	/**扩展城市**/
	private java.lang.String toCityName;
	
	public java.lang.String getApplyName() {
		return applyName;
	}
	public void setApplyName(java.lang.String applyName) {
		this.applyName = applyName;
	}
	public java.lang.String getCircleName() {
		return circleName;
	}
	public void setCircleName(java.lang.String circleName) {
		this.circleName = circleName;
	}
	public java.lang.String getFromZoneLevelName() {
		return fromZoneLevelName;
	}
	public void setFromZoneLevelName(java.lang.String fromZoneLevelName) {
		this.fromZoneLevelName = fromZoneLevelName;
	}
	public java.lang.String getToZoneLevelName() {
		return toZoneLevelName;
	}
	public void setToZoneLevelName(java.lang.String toZoneLevelName) {
		this.toZoneLevelName = toZoneLevelName;
	}
	public java.lang.String getToExtCommunityNames() {
		return toExtCommunityNames;
	}
	public void setToExtCommunityNames(java.lang.String toExtCommunityNames) {
		this.toExtCommunityNames = toExtCommunityNames;
	}
	public java.lang.String getToCityName() {
		return toCityName;
	}
	public void setToCityName(java.lang.String toCityName) {
		this.toCityName = toCityName;
	}
	public java.lang.String getLastToExtCommunityNames() {
		return lastToExtCommunityNames;
	}
	public void setLastToExtCommunityNames(java.lang.String lastToExtCommunityNames) {
		this.lastToExtCommunityNames = lastToExtCommunityNames;
	}
	public java.lang.String getCircleLogo() {
		return circleLogo;
	}
	public void setCircleLogo(java.lang.String circleLogo) {
		this.circleLogo = circleLogo;
	}
	
	/**
	 * 圈子logo全URL【已压缩】
	 * @return
	 */
	public java.lang.String getFullCircleLogo() {
		if(StringUtil.isBlank(this.getCircleLogo())){
			return "source://image/common/userLogin.png";
		}else if(this.getCircleLogo().indexOf("source://")>-1){
			return this.getCircleLogo();
		} else{
			return super.getImgHandleDomain()+""+this.getCircleLogo()+""+CircleConst.LOGO_POSTFIX;
		}
	}
	public java.lang.String getCommunityName() {
		return communityName;
	}
	public void setCommunityName(java.lang.String communityName) {
		this.communityName = communityName;
	}
}